#ifndef _HELIX_OPEN_GL_TEXTURE_H_
#define _HELIX_OPEN_GL_TEXTURE_H_

#include <Math.h>
#include "OpenGLSupport.h"
#include "../Texture.h"
#include "../../Helix.h"
#include "../../HObject.h"
#include "../../Domain/HelixImage.h"



/*  class for a texture

*/

namespace helix{

	class MY_CLASS OpenGLTexture : public Texture
	{
	protected:
		GLuint textureId; 
		GLuint textureTarget;

		bool createTexture(Image *image,TextureParameters *tParams);
	public:
		OpenGLTexture(Image *image,TextureParameters *tParams);
		virtual ~OpenGLTexture();

		GLuint getId();
		GLuint getTarget();
	};

}

#endif